Skip to main content

Azure Blob Storage

Experimental
Creates:
Assets

Configure in the UI

This plugin can be configured directly in the Marmot UI with a step-by-step wizard.

View Guide

The Azure Blob Storage plugin discovers containers from Azure Storage accounts. It captures container metadata including access levels, lease status, and custom metadata.

Connection Examples

Required Permissions

The following Azure RBAC role is recommended:

  • Storage Blob Data Reader - Read access to containers and blobs

Or use a custom role with these permissions:

  • Microsoft.Storage/storageAccounts/blobServices/containers/read
  • Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read

Example Configuration


connection_string: "${AZURE_STORAGE_CONNECTION_STRING}"
include_metadata: true
include_blob_count: false
filter:
include:
- "^data-.*"
exclude:
- ".*-temp$"
tags:
- "azure"
- "storage"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
account_keystringfalseAzure Storage account key
account_namestringfalseAzure Storage account name
connection_stringstringfalseAzure Storage connection string
endpointstringfalseCustom endpoint URL (for Azurite or other emulators)
external_links[]ExternalLinkfalseExternal links to show on all assets
filterplugin.FilterfalseFilter containers by name pattern
include_blob_countboolfalseCount blobs in each container (can be slow for large containers)
include_metadataboolfalseInclude container metadata
tagsTagsConfigfalseTags to apply to discovered assets

Available Metadata

The following metadata fields are available:

FieldTypeDescription
blob_countint64Number of blobs in the container
container_namestringName of the container
etagstringEntity tag for the container
has_immutability_policyboolWhether container has an immutability policy
has_legal_holdboolWhether container has a legal hold
last_modifiedstringLast modification timestamp
lease_statestringLease state (available/leased/expired/breaking/broken)
lease_statusstringLease status (locked/unlocked)
public_accessstringPublic access level (none/blob/container)